package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallAd;
import com.project.mall.bean.generator.CskaoyanmallAdExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallAdMapper {
    long countByExample(CskaoyanmallAdExample example);

    int deleteByExample(CskaoyanmallAdExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallAd record);

    int insertSelective(CskaoyanmallAd record);

    List<CskaoyanmallAd> selectByExample(CskaoyanmallAdExample example);

    CskaoyanmallAd selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallAd record, @Param("example") CskaoyanmallAdExample example);

    int updateByExample(@Param("record") CskaoyanmallAd record, @Param("example") CskaoyanmallAdExample example);

    int updateByPrimaryKeySelective(CskaoyanmallAd record);

    int updateByPrimaryKey(CskaoyanmallAd record);
}